package com.xintoucloud.gsv.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.xintoucloud.gsv.entity.RolePermission;


public interface RolePermissionMapper {
	@Select("select * from t_role_permission where rpid=#{rpid}")
	RolePermission getOneById(@Param("rpid")int rpid);
	
	@Select("select * from t_role_permission")
	List<RolePermission> list();
}
